#!/bin/bash
echo "`date +"%Y/%m/%d %H:%M:%S"` 触发脚本: $0" >> /home/root/gzb/schedule/scriptStartTime.log

startTime="`date -d "$1"  +%s`"
endTime=`date -d  "$2"  +%s`
echo $startTime
echo $endTime

t1=$1
t2=$2
task=$3
echo "参数: " "${t1}" "${t2}" "${task}"

cd /home/root/gzb/schedule/gzbDataAnalyse
java -jar -Xss20m gzbDataAnalyse-1.0-SNAPSHOT-jar-with-dependencies.jar "${t1}" "${t2}" '1' "${task}" 'all'